/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jeff.springmvcstudy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.SessionAttributes;

/**
 *
 * @author jeff
 */
@Controller
@RequestMapping("/interface")
@SessionAttributes("sessionId")
public interface InterfacedController {
    @RequestMapping("/doSth/{arg1}")
    String doSth(@PathVariable String arg1, @RequestParam String arg2, Model model);
}
